<?php
namespace PsiFramework\Applications\AlloMediaPortal\Classes\Model;

import("Classes.Model.Object");
import("Classes.Util.UI.LanguageManager");

use \PsiFramework\Classes\Model\Object;
use \PsiFramework\Classes\Util\UI\LanguageManager;
use \PsiFramework\Applications\DefaultApp\Classes\Model\Trace;
use \PsiFramework\Applications\AlloMediaPortal\Classes\Model\AlloMediaEntry;
use \PsiFramework\Applications\AlloMediaPortal\Classes\Model\Theme;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The AlloMediaTrace class describes a browsing trace
 *
 * @package Model
 */
class AlloMediaTrace extends Trace
{

    protected /*AlloMediaEntry*/ $_entry;
    protected /*Theme*/          $_theme;
    
    /**
     * Trace constructor
     *
     * @param int            $id          the id
     * @param IUser          $user        the user
     * @param string         $url         the url to trace
     * @param string         $action      the action to trace
     * @param string         $application the action to trace
     * @param Date           $time        the time to trace
     * @param AlloMediaEntry $entry       the entry
     * @param Theme          $theme       the theme
     * 
     * @return Trace
     */
    public function __construct(
        /*int*/ $id=null,
        /*IUser*/ $user=null,
        /*string*/ $url=null,
        /*string*/ $action=null,
        /*string*/ $application=null,
        /*Date*/ $time=null,
        /*AlloMediaEntry*/ $entry=null,
        /*Theme*/ $theme=null
    )
    {
        $this->_id = $id ;
        $this->_user = $user;
        $this->_url = $url ;
        $this->_action = $action ;
        $this->_application = $action ;
        $this->_time = $time ;
        $this->_entry = $entry ;
        $this->_theme = $theme ;
    }

    public function getEntry()
    {
    	return $this->_entry ;
    }
    
    public function setEntry(Object $entry=null)
    {
    	$this->_entry = $entry;
    }
    
    public function getTheme()
    {
    	return $this->_theme ;
    }
    
    public function setTheme(Object $theme=null)
    {
    	$this->_theme = $theme;
    }
}

